using System.Linq;
using Mono.Cecil;

public static class ContainsTypeChecker
{
    public static bool Check(string assemblyPath, string typeName)
    {
        var module = ModuleDefinition.ReadModule(assemblyPath);
        var types = module.Types;
        return types.Any(x => x.Name == typeName);
    }
}